//
//  ZYBToastView.h
//  homework
//
//  Created by AW Technician on 16/1/6.
//  Copyright © 2016年 zyb. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZYBToastView : UIView

@property(nonatomic,assign) CGFloat rectangleWidth;
@property(nonatomic,assign) CGFloat rectangleHeight;
@property(nonatomic,assign) CGFloat blackAlpha;
@property(nonatomic,assign) CGFloat cornerRadio;

//调整位置
@property(nonatomic,assign) CGPoint  offSet;//透明矩形的便宜量
@property(nonatomic,assign) CGPoint  customImageOffSet;//自定义图片的便宜量
@property(nonatomic,assign) CGPoint  label1OffSet;//自定义图片的便宜量
@property(nonatomic,assign) CGFloat  label1LeftAndRightMarign;//自定义图片的便宜量


@property(nonatomic,strong) UIImageView *customImageView;
@property(nonatomic,strong) UILabel *label1;
@property(nonatomic,strong) UILabel *label2;
@property(nonatomic,strong) UIView *customView;
@property(nonatomic,assign) CGPoint customViewOffSet;
@property(nonatomic,strong) UITextField *textField;
- (ZYBToastView *)showInView:(UIView *)aView;
- (void)hideView;

+ (ZYBToastView *)sharedTostView;
+ (ZYBToastView *)showErrorMessage:(NSString *)aMessage inView:(UIView *)aView DEPRECATED_ATTRIBUTE;//使用NBToast
+ (ZYBToastView *)showSucceedMessage:(NSString *)aMessage inView:(UIView *)aView DEPRECATED_ATTRIBUTE;
+ (ZYBToastView *)showNetErrorWithMessage:(NSString *)aMessage inView:(UIView *)aView DEPRECATED_ATTRIBUTE;
+ (ZYBToastView *)showLoadingMessage:(NSString *)aMessage inView:(UIView *)aView DEPRECATED_ATTRIBUTE;
+ (ZYBToastView *)showSucceedMessage:(NSString *)aMessage inView:(UIView *)aView finish:(void (^)(void))finish DEPRECATED_ATTRIBUTE;
+ (void)removeLoadingTost DEPRECATED_ATTRIBUTE;

@end
